// import com.alibaba.druid.sql.ast.SQLName_ptr;
// import com.alibaba.druid.sql.ast.SQLStatementImpl;
// import com.alibaba.druid.sql.visitor.SQLASTVisitor;

#include "SQLCancelJobStatement.h"
#include "../../visitor/SQLASTVisitor.h"
#include "../SQLName.h"

// @Override
void SQLCancelJobStatement::accept0(SQLASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(SQLCancelJobStatement)))
  {
    acceptChild(visitor, this->jobName);
  }
  visitor->endVisit(SharedObject(SQLCancelJobStatement));
}

SQLName_ptr SQLCancelJobStatement::getJobName()
{
  return jobName;
}

void SQLCancelJobStatement::setJobName(SQLName_ptr jobName)
{
  this->jobName = jobName;
}

BOOL_ptr SQLCancelJobStatement::isImport()
{
  return isImport_;
}

void SQLCancelJobStatement::setImport(BOOL_ptr anImport)
{
  isImport_ = anImport;
}
